home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000602_pete@lovelace.…ni-frankfurt.de_Tue May 17 13:10:12 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  5KB

  1. Received: from riese.informatik.uni-frankfurt.de (riese.thi.informatik.uni-frankfurt.de) by cs.umb.edu with SMTP id AA19058
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 17 May 1994 05:12:00 -0400
  3. Received: from lovelace.informatik.uni-frankfurt.de (lovelace.thi.informatik.uni-frankfurt.de) by riese.informatik.uni-frankfurt.de (4.1/THI-peleuck2.1)
  4.     id AA23279; Tue, 17 May 94 11:09:38 +0200
  5. Content-Transfer-Encoding: binary
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Received: by lovelace.informatik.uni-frankfurt.de (4.1/SMI-4.1)
  8.     id AA15845; Tue, 17 May 94 11:10:12 +0200
  9. Date: Tue, 17 May 94 11:10:12 +0200
  10. From: pete@lovelace.thi.informatik.uni-frankfurt.de (Peter Dyballa)
  11. Message-Id: <9405170910.AA15845@lovelace.informatik.uni-frankfurt.de>
  12. To: tex-k@cs.umb.edu
  13. Subject: So many problems _with_ kpathsea
  14.  
  15. Hello!
  16.  
  17. ken@phy.ucsf.edu makes a few suggestions on the usage of environmental variables whe using dvipsk and xdvik. He states:
  18.  
  19.  
  20.     Make sure that you do not have any TeX environmental
  21.     variables set in your environment (e.g. TEXFONTS, etc --- try
  22.     "set | grep -i tex" and "setenv | grep -i tex" to check).
  23.  
  24. This advise is in my opinion not realistic. TeX and LaTeX, which a most probable compiled _without_ kpathsea do need a few environmental variables to work properly. TEXINPUTS does need to be set. TEXFORMATS is needed too, particularly in a circumstance like ours: We are using old pure LaTeX and a LaTeX with New Font Selection Scheme (NFSS) 2. So we have two formats, which have - in our installation - the same name, but the reside at different places. By simply changing the sequence of the two components of TEXFORNMATS you are able to compile a LaTeX source with or without NFSS 2 (because the pure or the enhanced format file is found first)!
  25.  
  26. To achieve a downward compatability with older (La)TeX installations I suggest to insert a few #ifdef's in the source for kpathsea. When compiling with one of the new def's -DNO_TEXFONTS or -DEXACT or -DDEFAULT_PATHS the function kpse_expand_default (I presume it is responsible for that) won't use that low level variable TEXFONTS as an over-all emergency default search path, but parse and expand in an exact and predictable way the really appropriate variables, defined and set in the source. Make kpse_expand_default by this definition presume _all_ default paths are incorporated by paths.h, that they're stable (thanks to the invention of symlinks each search path _can_ almost at every moment be correct), and that they do not need changing in the lifetime of this xdvik or this dvipsk version X.Y.Z (new version - new search path; therefore save elder paths.h!). Only a very special and subtle adjusting might be necessary (when adding a 400 dpi printer or other curious devices an!
  27. d their associated fonts). And thi
  28.  
  29. s can be reached by some exactly named, documented, and perfectly distinguashable variables for xdvik and dvipsk with an own special purpose!
  30.  
  31. Ken's porposal
  32.  
  33.     (2) Change the behavior of kpathsea so that environmentally-set
  34.         paths do not *override* the default paths, but rather insert
  35.         themselves *in front of* the default paths.  This might be a
  36.         good idea; on the other hand, it could also condemn some people
  37.         to looong searches.  So, if this were implemented, the idea of
  38.         weeding out bad paths from one's environment should nonetheless
  39.         be well documented.
  40.  
  41. might be incorporated as another option for the behaviour of the function kpse_expand_default, activated by another -D.
  42.  
  43. Instead of include MBs of almost useless PK fonts (which can be made within a long weekend on a modern RISC workstation) include mff by Peter Damian Cugley. mff is a program that can be programmed to interprete and fulfill this invocation:
  44.  
  45.     mff -m0,h,1,2,3,4,5 cmoe{r,sl,sc,ti,tt,bx}{1,2,3,4,5}0-
  46.  
  47. With a ~/.mffrc file of this contents
  48.  
  49.         #  my personal mff startup file
  50.         #  created - Damian Cugley <pdc@oxford.prg> Mon 15 Jan 1990
  51.         -z CanonCX
  52.         -d 300
  53.         -P /usr/local/tex/lib/fonts/PK/%z/cm/cmoefont
  54.         -T /usr/local/tex/lib/fonts/TFM/cm/cmoefont
  55.         #  bitmap files are stored in directories named after the
  56.         #  printing engine rather than the resolution
  57.  
  58. which might take some time to make PK fonts in the magsteps
  59.  
  60.     0, 0.5, 1, 2, 3, 4, and 5
  61.  
  62. of the fonts and shapes
  63.  
  64.     cmoer10, cmoer20, cmoer30, cmoer40, cmoer50
  65.     cmoesl10, cmoesl20, cmoesl30, cmoesl40, cmoesl50
  66.     ... and so on.
  67.  
  68. In Europe on archive.cs.ruu.nl or ftp.cs.ruu.nl (131.211.80.17) you can find in
  69. pub/TEX/FONTS this file:
  70.  
  71. -rw-r--r--   1 108      staff       70704 Aug 28  1992 mff-29.tar.gz
  72.  
  73. which contains the source for mff, that still needs mf and gftopk.
  74.  
  75.  
  76. Greetings
  77.  
  78. Pete
  79.  
  80. (Peter Dyballa)
  81.  
  82. Johann Wolfgang Goethe-Universit"at
  83. Fachbereich 20 - Theoretische Informatik
  84. (Department for Computer Science)
  85. Robert-Mayer-Str. 11-15
  86. D 60325 Frankfurt am Main
  87. (Federal Republic of Germany)
  88.  
  89. email:pete@thi.informatik.uni-frankfurt.de
  90. voice:0049-69-798 8224
  91. fax:  0049-69-798 8353